<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html style="height:100%">
<head>
<base href="<%=basePath%>">

<title>信用管理</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" href="css/vivo.css">
<link rel="stylesheet" href="js/bootstrap2/css/bootstrap.min.css">

<link href="js/select2/select2.min.css" type="text/css" rel="stylesheet" />

<script src="js/jquery-1.11.1.js"></script>
<script src="js/bootstrap2/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/layui-v2.1.5/layui/layui.all.js"></script>
<script src="js/select2/select2.min.js"></script>
<script src="js/sharefunction.js"></script>

<style type="text/css">
	th {
	color: white;
	background-color: #F08080
}

.table-striped tbody>tr:nth-child(odd)>td {
	background-color: #EDEDED;
}

.table th, .table td {
	text-align: center;
	vertical-align: middle !important;
}

.bootstrap-table {
	width: 100%
}
	
</style>
</head>
<body style='height:97%'>
	<div style='height:100%'>
		<!-- 列表start -->
		<%-- <div style="margin-top: 15px;">
			<jsp:include page="customerCreditNew-list.jsp"></jsp:include>
			<!-- <table id="table"></table> -->
		</div> --%>
		<!-- 列表end -->
		<!-- 表单start -->
		 <div id="toAddCredit" style="height:100%">
			<iframe id="toAddCusCredit" name="toAddCusCredit" width="100%"
				style="height:100%" frameborder="0"></iframe>
			<%-- <%@include file="customerCredit-add.jsp" %> --%>
			
		</div>
		<!-- 表单end -->
		<!-- 隐藏域 -->
		<div style="display: none">
			<input name="cusCreditId" id="cusCreditId">
		</div>
		
		
	</div>
	<script type="text/javascript">
		var fkcustomerId;
		var fkroomId;
		$(function() {
			fkcustomerId = parent.$("#customerId").val();
			fkroomId = parent.$("#roomId").val();
			$("iframe[id='toAddCusCredit']").attr("src", "customer/credit/toAddCusCredit?fkroomId="+fkroomId+"&fkcustomerId="+fkcustomerId);
			
		});
		
		
	</script>
</body>
</html>